package day1;

public class TestFor {
    public static void main(String[] args) {
        for(int i = 0;i < 5;i++){
            System.out.println("i:"+i);
        }

        for (int i = 0; i < 3; i++) {
            int y = i;
            int n = y--;
            System.out.println("i:"+ ++i);
            System.out.println("n:"+ n--);
            System.out.println("y:"+ y);
        }
    }
}
